package com.myway.service;

import com.myway.dto.common.JsonData;
import com.myway.dto.common.ResultEntity;
import com.myway.pojo.FlyFrequentPassenger;
import com.myway.pojo.FlyPassenge;

public interface PassengerService {
    //添加乘客
    JsonData addPassenger();

    JsonData searchPassengeList();

    JsonData searchPassengeOne(Long userId);


    //根据登录人查询乘客
    ResultEntity getPassengerByUserId(String userId,String flag);
    //添加
    ResultEntity addPassengerInfo(FlyFrequentPassenger flyPassenge);

    //逻辑删除旅客常用联系人
    ResultEntity deleteFrequentFlyer(Long id,String userId);
}
